<!DOCTYPE HTML>
<html lang="es"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

	<title>{{=response.title or request.application}}</title>
	<meta charset="utf-8">
	
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
	{{response.files.append(URL('static', 'main.css'))}}
	{{include 'web2py_ajax.html'}}
	
	<link rel="stylesheet" href="index_files/main.css" type="text/css">

	<!--[if IE]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	{{include 'templates.html'}}
</head>

<body id="index" class="home">
	<header id="banner" class="body">
		<div id="flash" class="flash">{{=response.flash or ''}}</div>
		
		<h1 id="logo">
			Plugin Central -- Amazing web2py plugins
		</h1>
		
		<nav><ul>
			<li {{if request.controller=='default' and request.function=='index':}}
				  class="active" {{pass}}><a href="{{=URL('default', 'index')}}">Index</a></li>
			
			{{if auth.user:}}
				<li {{if request.controller=='default' and request.function=='user_list':}}
					class="active" {{pass}}><a href="{{=URL('default', 'user_list')}}">My Plugins</a></li>
				<li><a href="{{=URL('default', 'user', args='logout')}}">Logout</a></li>
				
				{{ if auth.has_membership('Admin', auth.user.id): }}
					<li>
						<a href="{{=URL('default', 'admin')}}">Admin</a>
					</li>
				{{ pass }}
				
			{{else:}}
				
				<li {{if request.function=='user' and request.args==['login']:}}
				  class="active" {{pass}}><a href="{{=URL('default', 'user', args='login')}}">Login</a></li>
				<li {{if request.function=='user' and request.args==['register']:}}
				  class="active" {{pass}}><a href="{{=URL('default', 'user', args='register')}}">Register</a></li>
			
			{{pass}}
		</ul></nav>
	</header><!-- /#banner -->
	
	{{block aside}}
	
	{{end}}
		
	<section id="content" class="body">
		
		{{block content}}
			{{include}}
		{{end}}
		
	</section><!-- /#content -->
	
	<section id="extras" class="body">
		<div class="blogroll">
			<h2>useful links</h2>
			<ul>
				<li><a href="http://web2py.com/examples/default/usergroups" rel="external">User groups</a></li>
				<li><a href="http://web2py.uservoice.com" rel="external">User Voice</a></li>
				<li><a href="http://mibbit.com/?channel=%23web2py&amp;server=irc.mibbit.net" rel="external">Live Chat (IRC)</a></li>
				<li><a href="http://web2py.com/AlterEgo" rel="external">F.A.Q.</a></li>
				<li><a href="http://web2py.com/examples/default/examples" rel="external">Quick Examples</a></li>
				
				<li><a href="http://web2py.com/examples/default/videos" rel="external">Videos</a></li>
				<li><a href="http://web2pyslices.com" rel="external">web2py Slices</a></li>
				<li><a href="http://web2py.com/demo_admin" rel="external">Interactive Demo</a></li>
				<li><a href="http://web2py.com/appliances" rel="external">Free Apps</a></li>
				<li><a href="http://web2py.com/pugins" rel="external">Old Plugins</a></li>
			</ul>
		</div><!-- /.blogroll -->
		
		<div class="social">
			<h2>social</h2>
			<ul>
				<li><a href="http://twitter.com/web2py" rel="me">Twitter</a></li>
			</ul>
		</div><!-- /.social -->
	</section><!-- /#extras -->
	
	<footer id="contentinfo" class="body">
		<address id="about" class="vcard body">
			<span class="primary">
				<strong><a href="#" class="fn url">Plugin Central</a></strong>
				<span class="role">Amazing web2py plugins</span>
			</span><!-- /.primary -->
		
			<img src="{{=URL('static', 'avatar.png')}}" alt="Plugin Central Logo" class="photo">
		
			<span class="bio">Just simply the most amazing plugins ever. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam at ornare felis. Quisque et orci non ligula luctus consequat euismod eu mi. Nulla facilisi. Suspendisse dui arcu, malesuada eu laoreet at, auctor eu dolor. In ligula metus, tristique vel gravida sit a</span>
		
		</address><!-- /#about -->
		
		<p>Copyright &copy; 2010 <a href="http://thadeusb.com/">Thadeus Burgess</a>.</p>
	</footer><!-- /#contentinfo -->

</body></html>